﻿<phone:PhoneApplicationPage 
    x:Class="Win7RovMobileApp.ValabilityMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolbox="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480">
    
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/Win7RovMobileApp;component/Images/RoadBackground.png" Stretch="Fill" Opacity="0.9" />
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid Height="80" Margin="0,551,0,49">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="Data intrarii in vigoare" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="10" FontSize="26" FontFamily="Tahoma">
                <TextBlock.Foreground>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="#FFD40505" Offset="0" />
                        <GradientStop Color="#FFE2CF40" Offset="0.849" />
                        
                    </LinearGradientBrush>
                </TextBlock.Foreground>
            </TextBlock>
            <toolbox:DatePicker Grid.Column="1"  Name="DeadlineDatePicker" Margin="10" Background="#52FFFFFF" Foreground="#FF00B2FF" Value="{Binding Path=ValabilityStartDate, Mode=TwoWay}" />
        </Grid>
        <Canvas Grid.Row="0" Name="MenuPanel" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MouseLeftButtonDown="MoveImages_Click" />
        <Button Grid.Row="1" HorizontalAlignment="Right" Content="Next" Margin="10" BorderThickness="0.2" FontFamily="Comic Sans MS" Click="MenuPanel_Click" />
    </Grid>

    <toolbox:TransitionService.NavigationInTransition>
        <toolbox:NavigationInTransition>
            <toolbox:NavigationInTransition.Backward>
                <toolbox:SlideTransition  Mode="SlideRightFadeIn"/>
            </toolbox:NavigationInTransition.Backward>
            <toolbox:NavigationInTransition.Forward>
                <toolbox:SlideTransition Mode="SlideRightFadeIn"/>
            </toolbox:NavigationInTransition.Forward>
        </toolbox:NavigationInTransition>
    </toolbox:TransitionService.NavigationInTransition>
    <toolbox:TransitionService.NavigationOutTransition>
        <toolbox:NavigationOutTransition>
            <toolbox:NavigationOutTransition.Backward>
                <toolbox:SlideTransition Mode="SlideLeftFadeOut"/>
            </toolbox:NavigationOutTransition.Backward>
                <toolbox:NavigationOutTransition.Forward>
                <toolbox:SlideTransition Mode="SlideLeftFadeOut"/>
            </toolbox:NavigationOutTransition.Forward>
        </toolbox:NavigationOutTransition>
    </toolbox:TransitionService.NavigationOutTransition>
</phone:PhoneApplicationPage>
